package com.york.subject.domain.convert;

import com.york.subject.domain.entity.SubjectInfoBO;
import com.york.subject.infra.basic.entity.SubjectBrief;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 转化多选题目
 */
@Mapper
public interface BriefSubjectConverter {

    // 返回实现接口的实例
    BriefSubjectConverter INSTANCE = Mappers.getMapper(BriefSubjectConverter.class);

    SubjectBrief convertBoToEntity(SubjectInfoBO subjectInfoBO);

}
